package com.qf.pojo;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
@Data
public class Person {
    @Value("${person.name}")
    private String name;
    @Value("${age}")
    private Integer age;
    @Value("${student.address.city}")
    private String Address;
    @Value("${arr[2]}")
    private String element;
}
